P-Called-Party-Id

An example of the header is shown below:

P-Called-Party-ID: <sip:2000@gw.itsp.com>

The header properties are shown in the following table:

Header Level Action

Add

Delete

Modify

List Entries

Operations Supported

Yes

Yes

Yes

N/A

Keyword

Sub Types

Attributes

Name

String

Read/Write

URL

URL Structure (see URL)

Read/Write

Below are header manipulation examples:

Example 1

Rule:

Add a P-Called-Party-Id header to all messages:

MessageManipulations 8 = 1, any, , header.p-called-party-id, 0, 'sip:2000@MSBG.ITSP.COM', 0;

Result:

P-Called-Party-ID: <sip:2000@gw.itsp.com>

Example 2

Rule:

Append a parameter (p1) to all P-Called-Party-Id headers:

MessageManipulations 9 = 1, invite, , header.p-called-party-id.param.p1, 0, 'red', 0;

Result:

P-Called-Party-ID: <sip:2000@gw.itsp.com>;p1=red

Example 3

Rule:

Add a display name to the P-Called-Party-Id header:

MessageManipulations 3 = 1, any, , header.p-called-party-id.name, 2, 'Secretary', 0;

Result:

P-Called-Party-ID: Secretary <sip:2000@gw.itsp.com>;p1=red